package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 活动参与记录管理对象 activity_logs
 * 
 * @author 墨染
 * @date 2024-09-28
 */
public class ActivityLogs extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    @Excel(name = "参与记录Id")
    private Long participateId;

    @Excel(name = "活动Id")
    private Long activityId;

    @Excel(name = "活动名称")
    private String activityName;

    @Excel(name = "用户Id")
    private Long userId;

    @Excel(name = "用户昵称")
    private String nickName;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "报名时间", dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date applyTime;

    @Excel(name = "活动参与地点")
    private String participatePosition;

    @Excel(name = "打卡图片")
    private String punchingImg;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "参与时间", dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date participateTime;

    @Excel(name = "备注")
    private String remark;

    @Excel(name = "获得减碳量")
    private Double reduceCo2;

    @Excel(name = "获得积分")
    private Double earnPoints;

    @Excel(name = "删除标识(0未删除,1已删除)")
    private Long isDel;

    @Excel(name = "扩展字段1")
    private String ext1;

    @Excel(name = "扩展字段2")
    private String ext2;

    @Excel(name = "扩展字段3")
    private String ext3;

    @Excel(name = "扩展字段4")
    private String ext4;

    @Excel(name = "扩展字段5")
    private String ext5;

    public void setParticipateId(Long participateId) 
    {
        this.participateId = participateId;
    }

    public Long getParticipateId() 
    {
        return participateId;
    }
    public void setActivityId(Long activityId) 
    {
        this.activityId = activityId;
    }

    public Long getActivityId() 
    {
        return activityId;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setApplyTime(Date applyTime) 
    {
        this.applyTime = applyTime;
    }

    public Date getApplyTime() 
    {
        return applyTime;
    }
    public void setParticipateTime(Date participateTime) 
    {
        this.participateTime = participateTime;
    }

    public Date getParticipateTime() 
    {
        return participateTime;
    }
    public void setIsDel(Long isDel)
    {
        this.isDel = isDel;
    }

    public Long getIsDel() 
    {
        return isDel;
    }
    public void setExt1(String ext1) 
    {
        this.ext1 = ext1;
    }

    public String getExt1() 
    {
        return ext1;
    }
    public void setExt2(String ext2) 
    {
        this.ext2 = ext2;
    }

    public String getExt2() 
    {
        return ext2;
    }
    public void setExt3(String ext3) 
    {
        this.ext3 = ext3;
    }

    public String getExt3() 
    {
        return ext3;
    }
    public void setExt4(String ext4) 
    {
        this.ext4 = ext4;
    }

    public String getExt4() 
    {
        return ext4;
    }
    public void setExt5(String ext5) 
    {
        this.ext5 = ext5;
    }

    public String getExt5() 
    {
        return ext5;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("participateId", getParticipateId())
            .append("activityId", getActivityId())
            .append("activityName", getActivityName())
            .append("userId", getUserId())
            .append("nickName", getnickName())
            .append("applyTime", getApplyTime())
            .append("participatePosition", getParticipatePosition())
            .append("punchingImg", getPunchingImg())
            .append("participateTime", getParticipateTime())
            .append("remark", getRemark())
            .append("reduceCo2", getReduceCo2())
            .append("earnPoints", getEarnPoints())
            .append("isDel", getIsDel())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("ext1", getExt1())
            .append("ext2", getExt2())
            .append("ext3", getExt3())
            .append("ext4", getExt4())
            .append("ext5", getExt5())
            .toString();
    }

    public Double getReduceCo2() {
        return reduceCo2;
    }

    public void setReduceCo2(Double reduceCo2) {
        this.reduceCo2 = reduceCo2;
    }

    public Double getEarnPoints() {
        return earnPoints;
    }

    public void setEarnPoints(Double earnPoints) {
        this.earnPoints = earnPoints;
    }

    public String getActivityName() {
        return activityName;
    }

    public void setActivityName(String activityName) {
        this.activityName = activityName;
    }

    public String getnickName() {
        return nickName;
    }

    public void setnickName(String nickName) {
        this.nickName = nickName;
    }

    public String getParticipatePosition() {
        return participatePosition;
    }

    public void setParticipatePosition(String participatePosition) {
        this.participatePosition = participatePosition;
    }

    public String getPunchingImg() {
        return punchingImg;
    }

    public void setPunchingImg(String punchingImg) {
        this.punchingImg = punchingImg;
    }

    @Override
    public String getRemark() {
        return remark;
    }

    @Override
    public void setRemark(String remark) {
        this.remark = remark;
    }
}
